From: Joey Hess Date: Fri, 24 Jan 2025 15:33:50 +0000 (-0400) Subject: avoid build warning on windows X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~6^2~183^2~37 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f0c206cea67107ca2e4618239a7d29d1d391e930;p=git-annex.git avoid build warning on windows --- diff --git a/Utility/LockFile/Windows.hs b/Utility/LockFile/Windows.hs index c8e7c1bf52..9f35ec1129 100644 --- a/Utility/LockFile/Windows.hs +++ b/Utility/LockFile/Windows.hs @@ -75,9 +75,9 @@ openLock sharemode f = do return $ if h == iNVALID_HANDLE_VALUE then Nothing else Just h -#endif where security_attributes = maybePtr Nothing +#endif dropLock :: LockHandle -> IO () dropLock = closeHandle